// 这个模块统一注册vue插件  不仅可以注册组件还可以注册指令过滤器....
// 使用Vue.use(xx), Vue.use内部做了大量的 Vue.component(xx,xx)
import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import WorkCalendar from '@/components/WorkCalendar'
import Radar from '@/components/Radar'
import ScreenFull from '@/components/ScreenFull'
import ThemePicker from '@/components/ThemePicker'
import Lang from '@/components/Lang'
import TagsView from '@/components/TagsView'
export default {
  // 如果插件是一个对象必须提供install方法
  install(Vue) {
    // 在install方法中注册组件
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('WorkCalendar', WorkCalendar)
    Vue.component('Radar', Radar)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('Lang', Lang)
    Vue.component('TagsView', TagsView)
  }
}

// export default function() {

// }
